package com.itheima.day01.Extends;

public class father {
    public double price;
    private int id;
    private String username;

    public father( double price, int id, String username) {
        this.price = price;
        this.id = id;
        this.username = username;
    }

    public father() {
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}


